<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\ArcAndroid */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="arc-android-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
    
    <?php
        //echo $form->field($model, 'number')->textInput()->label('该质检机器人的最大并行数')
    ?>
    
    <?php
        //echo $form->field($model, 'onetime_num')->textInput()->label('一个质检机器人需要训练的记录数')
    ?>

    <?= $form->field($model, 'http')->textarea(['rows' => 2])->label('接口（为访问外网的阿里云的网址）') ?>

    <?= $form->field($model, 'parms')->textarea(['rows' => 4])->label('参数（为访问阿里云，阿里云分配的appId以及appSecret，用json格式来配置）')  ?>

    <div class="form-group">
        <?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
